package base.service;

import base.bean.RoomEntity;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by uas on 2018/3/18.
 */
@Service
@Transactional
public interface IRoomService {
    void updateNameById(int cips, int id);
    List<RoomEntity> findByaEquals();
    List<RoomEntity> findCipsAndRoomtype(String roomytpe);
    RoomEntity findOne(int id);
    RoomEntity save(RoomEntity saveRoom);
    List<RoomEntity> findAll();
}
